package br.com.petshow.controller;

import java.net.URL;
import java.util.ResourceBundle;

import br.com.petshow.app.Aplicacao;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.MenuItem;

public class MenuController implements Initializable {

	@FXML
    private MenuItem btDonos;

    @FXML
    private MenuItem btTipos;

    @FXML
    private MenuItem btAgendamento;

    @FXML
    private MenuItem btServico;

    @FXML
    private MenuItem btAnimal;

    @FXML
    void btTiposAction(ActionEvent event) {
    	Aplicacao.loadUrl(Aplicacao.URL_TIPOS);
    }

    @FXML
    void btServicoAction(ActionEvent event) {
    	Aplicacao.loadUrl(Aplicacao.URL_SERVICOS);
    }

    @FXML
    void btDonosAction(ActionEvent event) {
    	Aplicacao.loadUrl(Aplicacao.URL_DONOS);
    }

    @FXML
    void btAnimalAction(ActionEvent event) {

    }

    @FXML
    void btAgendamentoAction(ActionEvent event) {

    }
	
	@Override
	public void initialize(URL url, ResourceBundle resourceBundle) {
		
	}

}
